﻿@model IMembershipModel

@AddControls(new Fieldset("w51p mh75", "User")
{
    new DefinitionList
    {
        new TextOrInput().SetSourceProperty(() => Model.Member.UserName),
        new DefinitionListItem("Password")
        {
            new Input(InputType.Password).SetName("Password"),
        },
    },
    new Horizontal(),
    new DefinitionList
    {    
        new TextOrInput().SetSourceProperty(() => Model.Member.FirstName),
        new TextOrInput().SetSourceProperty(() => Model.Member.Surname),
        new DefinitionListItem("NewPassword")
        {
            new Input(InputType.Password).SetName("NewPassword"),
        },
        new DefinitionListItem("ConfirmedPassword")
        {
            new Input(InputType.Password).SetName("ConfirmedPassword"),
        },
    }
})